import request from '@/utils/request'
// import qs from 'qs'

/**
 * 获取项目列表
 *
 * @param data
 */
export function getProjectListApi(data) {
    return request({
        url: '/api/project/getList',
        method: 'post',
        data
    })
}

/**
 * 获取专业分公司项目列表
 *
 * @param data
 */
export function getProfessionalBranchListApi(data) {
    return request({
        url: '/api/project/getProfessionalBranchList',
        method: 'post',
        data
    })
}

/**
 * 获取供应商资质
 *
 * @param data
 */
export function getSupplierListApi(data) {
    return request({
        url: '/api/project/getSupplierlist',
        method: 'post',
        data
    })
}

/**
 * 获取合同立项我的待办
 *
 * @param data
 */
export function getToDoListApi(data) {
    return request({
        url: '/api/contractInitiation/getToDoList',
        method: 'post',
        data
    })
}

/**
 * 获取合同立项我的立项
 *
 * @param data
 */
export function getMyApplicationsApi(data) {
    return request({
        url: '/api/contractInitiation/getMyApplicationList',
        method: 'post',
        data
    })
}

/**
 * 获取合同立项我的已办
 *
 * @param data
 */
export function getHandledListApi(data) {
    return request({
        url: '/api/contractInitiation/getHandledList',
        method: 'post',
        data
    })
}

